package com.bilgeadam.hibernate.program;

import com.bilgeadam.hibernate.model.DbContext;
import com.bilgeadam.hibernate.model.entity.Employee;


/**
 * 
 * @author Bora SAYINER
 * @since Nov 15, 2014 3:57:55 PM
 * @version 1.0.0
 */
public class Driver {

	public static void main(String[] args) {
		
		Employee employee = DbContext.getInstance().getEmployees().findById(1L);
		employee.setLastName("ŞAHİN");
		DbContext.getInstance().getEmployees().delete(employee);
	}
}
